package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;



@TableName("wenwuxinxi")
public class WenwuxinxiEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public WenwuxinxiEntity() {
		
	}
	
	public WenwuxinxiEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
    @TableId(type = IdType.AUTO)
    private Long id;
	/**
	 * 艺术品编号
	 */
					
	private String wenwubianhao;
	
	/**
	 * 艺术品名称
	 */
					
	private String wenwumingcheng;
	
	/**
	 * 艺术品分类
	 */
					
	private String wenwufenlei;
	
	/**
	 * 朝代
	 */
					
	private String chaodai;
	
	/**
	 * 封面图
	 */
					
	private String fengmiantu;
	
	/**
	 * 艺术品简述
	 */
					
	private String wenwujianshu;
	
	/**
	 * 艺术品历史
	 */
					
	private String wenwulishi;
	
	/**
	 * 发布时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date fabushijian;
	
	/**
	 * 赞
	 */
					
	private Integer thumbsupnum;
	
	/**
	 * 踩
	 */
					
	private Integer crazilynum;
	
	/**
	 * 最近点击时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date clicktime;
	
	/**
	 * 评论数
	 */
					
	private Integer discussnum;
	
	/**
	 * 收藏数
	 */
					
	private Integer storeupnum;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：艺术品编号
	 */
	public void setWenwubianhao(String wenwubianhao) {
		this.wenwubianhao = wenwubianhao;
	}
	/**
	 * 获取：艺术品编号
	 */
	public String getWenwubianhao() {
		return wenwubianhao;
	}
	/**
	 * 设置：艺术品名称
	 */
	public void setWenwumingcheng(String wenwumingcheng) {
		this.wenwumingcheng = wenwumingcheng;
	}
	/**
	 * 获取：艺术品名称
	 */
	public String getWenwumingcheng() {
		return wenwumingcheng;
	}
	/**
	 * 设置：艺术品分类
	 */
	public void setWenwufenlei(String wenwufenlei) {
		this.wenwufenlei = wenwufenlei;
	}
	/**
	 * 获取：艺术品分类
	 */
	public String getWenwufenlei() {
		return wenwufenlei;
	}
	/**
	 * 设置：朝代
	 */
	public void setChaodai(String chaodai) {
		this.chaodai = chaodai;
	}
	/**
	 * 获取：朝代
	 */
	public String getChaodai() {
		return chaodai;
	}
	/**
	 * 设置：封面图
	 */
	public void setFengmiantu(String fengmiantu) {
		this.fengmiantu = fengmiantu;
	}
	/**
	 * 获取：封面图
	 */
	public String getFengmiantu() {
		return fengmiantu;
	}
	/**
	 * 设置：艺术品简述
	 */
	public void setWenwujianshu(String wenwujianshu) {
		this.wenwujianshu = wenwujianshu;
	}
	/**
	 * 获取：艺术品简述
	 */
	public String getWenwujianshu() {
		return wenwujianshu;
	}
	/**
	 * 设置：艺术品历史
	 */
	public void setWenwulishi(String wenwulishi) {
		this.wenwulishi = wenwulishi;
	}
	/**
	 * 获取：艺术品历史
	 */
	public String getWenwulishi() {
		return wenwulishi;
	}
	/**
	 * 设置：发布时间
	 */
	public void setFabushijian(Date fabushijian) {
		this.fabushijian = fabushijian;
	}
	/**
	 * 获取：发布时间
	 */
	public Date getFabushijian() {
		return fabushijian;
	}
	/**
	 * 设置：赞
	 */
	public void setThumbsupnum(Integer thumbsupnum) {
		this.thumbsupnum = thumbsupnum;
	}
	/**
	 * 获取：赞
	 */
	public Integer getThumbsupnum() {
		return thumbsupnum;
	}
	/**
	 * 设置：踩
	 */
	public void setCrazilynum(Integer crazilynum) {
		this.crazilynum = crazilynum;
	}
	/**
	 * 获取：踩
	 */
	public Integer getCrazilynum() {
		return crazilynum;
	}
	/**
	 * 设置：最近点击时间
	 */
	public void setClicktime(Date clicktime) {
		this.clicktime = clicktime;
	}
	/**
	 * 获取：最近点击时间
	 */
	public Date getClicktime() {
		return clicktime;
	}
	/**
	 * 设置：评论数
	 */
	public void setDiscussnum(Integer discussnum) {
		this.discussnum = discussnum;
	}
	/**
	 * 获取：评论数
	 */
	public Integer getDiscussnum() {
		return discussnum;
	}
	/**
	 * 设置：收藏数
	 */
	public void setStoreupnum(Integer storeupnum) {
		this.storeupnum = storeupnum;
	}
	/**
	 * 获取：收藏数
	 */
	public Integer getStoreupnum() {
		return storeupnum;
	}

}
